<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListWorkItems.ascx.cs" Inherits="_controls_ListWorkItems" %>

<asp:Label ID="lblNothing" runat="server" CssClass="warning"></asp:Label>

<asp:Repeater ID="rptWorkItems" runat="server" Visible="false">
    <ItemTemplate>
        
        
        
            <div class="item">

                <table style="width:100%">
                    <tr>
                        <td style="width:40%;" align="center" valign="top">
                            <img src='<%# LoadImageIfExists((int)Eval("ID"),(bool)Eval("HasImage"))%>' alt='<%# Eval("Title") %>' />        
                        </td>
                        <td style="width:30%" valign="top">
                            <div class="itemtitle"><%# Eval("Title") %></div>                           
                            <div><a class="url" href='<%# Eval("Url") %>'><%# Eval("Url") %></a></div>
                            <div><%# Eval("CreationDate") %></div>
                            <div><%# Eval("Description") %></div>
                        </td>
                        <td style="width:30%" valign="top">
                            <a class="item_button_link" href=""><div class="item_button" onmousemove="this.className = 'item_button_hover'" onmouseout="this.className='item_button'">Edit</div></a>
                            <a class="item_button_link" href=""><div class="item_button" onmousemove="this.className = 'item_button_hover'" onmouseout="this.className='item_button'">Remove</div></a>
                            <a class="item_button_link" href=""><div class="item_button" onmousemove="this.className = 'item_button_hover'" onmouseout="this.className='item_button'">Change</div></a>
                        </td>
                    </tr>
                </table>
        
        
            </div>
        
        
    </ItemTemplate>
    <SeparatorTemplate>
        <div class="clear"></div>
    </SeparatorTemplate>
</asp:Repeater>
